/* 首页 */
.main{
    width: 980px;
    height: 455px;
    /* background-color: pink; */
    margin-left: 220px;
    margin-top: 10px;
}
.focus{
    float: left;
    width: 721px;
    height: 455px;
    background-color: skyblue;
}
.newsflash{
    float: right;
    width: 250px;
    height: 455px;
    /* background-color: blue; */
}
.news{
    height: 165px;
    border: 1px solid #e5e5e5;
    /* background-color: aqua; */
}
.news_hd{
    height: 33px;
    line-height: 33px;
    border-bottom: 1px dotted #e4e4e4;
    padding: 0 15px;
}
.news_hd h5{
    float: left;
    font-size: 14px;
}
.news_hd .more{
    float: right;
}
.news_hd .more::after{
    content: '\e907';
    font-family: 'icomoon';
}
.news_bd{
    padding: 5px 15px 0;
}
.news_bd ul li{
    height: 25px;
    line-height: 25px;
    /* 超出变... */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.lifeservice{
    overflow: hidden;
    height: 209px;
    /* background-color: purple; */
    border: 1px solid #e4e4e4;
}
.lifeservice ul{
    width: 252px;
}
.lifeservice ul li{
    float: left;
    width: 63px;
    height: 71px;
    border-right: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    text-align: center;
}
.lifeservice ul li i{
    display: inline-block;
    width: 25px;
    height: 28px;
    /* background-color: pink; */
    margin-top: 12px;
    background-repeat: no-repeat;
    background-image: url('../images/icons.png');
}
.lifeservice ul li:first-child i{
    background-position: -16px -16px;
}
.lifeservice ul li:nth-child(2) i{
    background-position:  -80px -16px;
}
.lifeservice ul li:nth-child(3) i{
    background-position:  -141px -16px;
}
.lifeservice ul li:nth-child(4) i{
    background-position:  -206px -16px;
}
.lifeservice ul li:nth-child(5) i{
    background-position:  -16px -86px;
}
.lifeservice ul li:nth-child(6) i{
    background-position:  -79px -86px;
}
.lifeservice ul li:nth-child(7) i{
    background-position:  -142px -86px;
}
.lifeservice ul li:nth-child(8) i{
    background-position:  -206px -86px;
}
.lifeservice ul li:nth-child(9) i{
    background-position:  -16px -158px;
}
.lifeservice ul li:nth-child(10) i{
    background-position:  -78px -158px;
}
.lifeservice ul li:nth-child(11) i{
    background-position:  -141px -154px;
}
.lifeservice ul li:nth-child(12) i{
    background-position:  -205px -158px;
}
.lifeservice ul li:nth-child(2){
    position: relative;
    
}
.discount-tag{
    position: absolute;
    top: 0;
    right: 0;
    color: white;
    font-size: 12px;
    width: 0;
    height: 0;
    /* border: 9px solid green; */
    border-top: 15px solid #579e5c;
    border-left: 7px solid #579e5c;    /* 左侧边框宽度 */
    border-right: 7px solid #579e5c; 
    border-bottom: 3px solid transparent;
    line-height: 0;
}
.discount-tag::after {
    content: "减"; /* 添加文本内容 */
    position: relative;
    left: -6px; /*微调文本位置*/
    top: -8px;
    font-size: 12px;
}
.bargain{
    margin-top: 5px;
}

/* 推荐 */
.recom{
    height: 163px;
    margin-top: 12px;
}
.recom_hd{
    float: left;
    width: 205px;
    height: 163px;
    /* 透明图案和字 背景色 居中*/
    background-color: #5c5251;
    text-align: center;
    padding-top: 30px;
}
.recom_bd{
    float: right;
    width: 995px;
    height: 163px;
    background-color: #ebebeb;
}
.recom_bd ul li{
    position: relative;
    float: left;
}
.recom_bd ul li img{
    width: 248px;
    height: 163px;
}
.recom_bd ul li:nth-child(-n+3)::after{
    position: absolute;
    content: '';
    right: 0;
    top: 10px;
    width: 1px;
    height: 145px;
    background-color: #ddd;
}

/* 猜你喜欢 */
.likes{
    height: 281px;
    /* background-color: pink; */
    margin-top: 12px;
}
.likes_hd{
    height: 42px;
    line-height: 42px;
}
.likes_hd h3{
    float: left;
    color: black;
    font-size: 18px;
    font-weight: 400;
}
.likes_hd a{
    float: right;
    color: black;
    margin: 0 30px;
}
.likes_hd a::after{
    content: '\e90c';
    font-family: 'icomoon';
    top: 0;
    right: 0;
}
.likes_bd ul{ 
    height: 239px;
    border: 1px solid #ccc;
}
.likes_bd ul li{
    float: left;
    width: 198px;
    height: 239px;
    border-radius: 5px;
}
.likes_bd ul li p{
    border: 1px;
}
.likes_bd ul li img{ 
    width: 161px;
    height: 141px;
    margin: 6px 19px;
}
.product-name {
    font-size: 14px;
    margin: 5px 0 0 37px;
}

.product-price {
    margin-left: 36px;
    font-size: 18px;
    color: #f00;
}
.product-price::before {
    content: '￥';
    font-family: 'icomoon';
    font-size: 14px;
}

/* 家用电器 */
.box_hd{
    height: 30px;
    border-bottom: 2px solid #c81623;
}
.box_hd h3{
    float: left;
    font-size: 18px;
    color: #c81623;
    font-weight: 400;
}
.tab_list{
    float: right;
    line-height: 30px;
}
.tab_list ul li{
    float: left;
}
.tab_list ul li a{
    margin: 0 15px;
}
.floor .w{
    margin-top: 30px;
}
.box_bd{
    height: 361px;
    /* background-color: pink; */
}
.tab_list_item>div{
    float: left;
}
.col_210{
    width: 210px;
    background-color: #f9f9f9;
    height: 361px;
    text-align: center;
}
.col_210 ul{
    padding-left: 12px;
}
.col_210 ul li{ 
    float: left;
    width: 85px;
    height: 35px;
    border-bottom: 1px solid #ccc;
    line-height: 35px;
    text-align: center;
    margin-right: 10px;
}
.col_329{
    width: 329px;
}
.col_221{
    width: 221px;
    border-right: 1px solid #ccc;
}
.col_219{
    width: 219px;
}
.bb{
    /* 一般情况下 a如果包含有宽度的盒子 a需要转化为块级元素*/
    display: block;
    border-bottom: 1px solid #ccc;
}